Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): update CLI and tests for server default parameters #1545

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

hubcio
Copy link
Contributor

@hubcio hubcio commented Feb 17, 2025

This commit updates the CLI and associated tests to use "server_default"
as the default value for max topic size and message expiry time, instead
of "unlimited". This change ensures that the CLI uses the server's
default configuration when parameters are not explicitly specified by
the user. Additionally, the commit modifies the display and parsing
logic for IggyExpiry to use "never_expire" instead of "none" for
clarity. The tests have been updated to reflect these changes, ensuring
that the new defaults are correctly applied and tested.

This closes #1536.

@hubcio hubcio changed the title message expiry server default fix(cli): update CLI and tests for server default parameters Feb 17, 2025
@hubcio hubcio force-pushed the message-expiry-server-default branch from 30fbc44 to 4bab151 Compare February 17, 2025 17:32
spetz
spetz previously approved these changes Feb 17, 2025
This commit updates the CLI and associated tests to use "server_default"
as the default value for max topic size and message expiry time, instead
of "unlimited". This change ensures that the CLI uses the server's
default configuration when parameters are not explicitly specified by
the user. Additionally, the commit modifies the display and parsing
logic for `IggyExpiry` to use "never_expire" instead of "none" for
clarity. The tests have been updated to reflect these changes, ensuring
that the new defaults are correctly applied and tested.

This closes #1536.
@hubcio hubcio force-pushed the message-expiry-server-default branch from 0b08b16 to 9dcd13d Compare February 17, 2025 19:39
@hubcio hubcio merged commit 8c52d3f into master Feb 17, 2025
14 checks passed
@hubcio hubcio deleted the message-expiry-server-default branch February 17, 2025 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default System segment message expiry not respected
3 participants